package sjtu.edu.cn.se.compiler11.gui.errorview;

public class ErrorInfo {
	
	private String des;
	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public String getRes() {
		return res;
	}

	public void setRes(String res) {
		this.res = res;
	}

	public int getLoc() {
		return loc;
	}

	public void setLoc(int loc) {
		this.loc = loc;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	private String res;
	private int loc;
	private String type;
	
	public ErrorInfo(String theDes, String theRes, int theLoc, String theType)
	{
		des = theDes; res = theRes; loc = theLoc ; type = theType;
	}
	
	
}
